package top.jandmla.excel.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
@TableName(value = "tb_menu")
public class Menu {

    @TableId(type = IdType.UUID)
    private String id;


    private String menuName;

    private String url;

    private String permit;

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName == null ? null : menuName.trim();
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public void setPermit(String permit) {
        this.permit = permit == null ? null : permit.trim();
    }

}